!
function(e, i) {
    for (var t = (i.getElementById("mobo-header-link-product"), i.getElementById("mobo-header-sub")), 
	n = t.getElementsByTagName("a"), 
	a = n.length, 
	r = function(e, i, t) {
        e.addEventListener ? e.addEventListener(i, t, !1) : e.attachEvent ? e.attachEvent("on" + i, t) : e["on" + i] = t
    },
    o = function(e) {
        return e ? e: window.event
    },
    s = function(e) {
        return e.target || e.srcElement
    },
    d = function(e, i) {
        e.style.opacity = i,
        e.style.filter = "alpha(opacity=" + 100 * i + ")"
    },
    l = a - 1; l >= 0; l--) r(n[l], "mouseenter",
    function(e) {
        for (var i = a - 1; i >= 0; i--) s(o(e)) !== n[i] && d(n[i], .5)
    }),
    r(n[l], "mouseleave",
    function(e) {
        for (var i = a - 1; i >= 0; i--) d(n[i], 1)
    })
} (window, document),
$(function() {
    var e, i = !1;
    $(".mobo-header-wrap,.mobo-header-sub-products").on("mouseover",
    function() {
        void 0 != e && clearTimeout(e),
        $("#headerNav").addClass("toggle"),
        i = !0
    }).on("mouseout",
    function(t) {
        if (void 0 != t.originalEvent.srcElement) var n = t.originalEvent.srcElement.innerText;
        else var n = t.originalEvent.target.innerText;
        n != $("#mobo-header-link-product a").text() && (e = setTimeout(function() {
            /*$("#headerNav").removeClass("toggle")*/
        },
        2000)),
        i = !1
    });
    var t = $("#mobo-header-link-product"),
    n = $("#mobo-header-sub"),
    a = $("#headerNav"),
    r = $("img[data-src]"),
    o = function() {
        var e = "(-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3/2), (min-resolution: 1.5dppx)";
        return window.devicePixelRatio > 1 ? !0 : window.matchMedia && window.matchMedia(e).matches ? !0 : !1
    },
    s = function() {
        return - 1 !== navigator.platform.indexOf("Mac")
    },
    d = function() {
        t.addClass("hover"),
        n.stop().slideDown(),
        i && a.addClass("toggle")
    },
    l = function() {
        t.removeClass("hover"),
        n.stop().slideUp(function() {
            i || a.removeClass("toggle")
        })
    };
    t.mouseover(d),
    n.mouseover(d),
    t.mouseout(l),
    n.mouseout(l),
    s() && $("body").addClass("mac"),
    r.each(o() ?
    function() {
        var e = $(this).attr("data-src-2x");
        $(this).attr("src", e)
    }: function() {
        var e = $(this).attr("data-src");
        $(this).attr("src", e)
    })
}),
$(function() {
    var e = $(".sliders"),
    i = e.children(".slider-wrap").children(),
    t = e.children(".bullet"),
    n = $(".slider-wrap .slider").length-1,//获取页面数，n为数组角标
    a = 0,
    r = "",
    o = "",
    s = 8e3,
    d = 2e3,
    l = function() {
        i.eq(a).fadeOut(d),
        a >= n - 0 ? a = 0 : a++,
        i.eq(a).fadeIn(d),
        t.children().eq(a).addClass("icon-circle-thin").removeClass("icon-circle").siblings().addClass("icon-circle").removeClass("icon-circle-thin"),
        $("#header").removeClass().addClass("theme-" + (sliderThemes["slider_" + a] ? sliderThemes["slider_" + a] : "gray"))
    };
    i.eq(0).show(),
    n > 1 && (i.each(function(e) {
        r += 0 === e ? '<li data-index="' + e + '" class="icon-circle-thin"></li>': '<li data-index="' + e + '" class="icon-circle"></li>'
    }), t.append($(r)), t.css({
        marginLeft: -t.width() / 2
    }), o = setInterval(l, s), t.on("click", "li",
    function() {
        var e = parseInt($(this).attr("data-index"));
        t.children().eq(e).addClass("icon-circle-thin").removeClass("icon-circle").siblings().addClass("icon-circle").removeClass("icon-circle-thin"),
        i.eq(e).fadeIn().siblings().fadeOut(),
        clearInterval(o),
        a = e,
        $("#header").removeClass().addClass("theme-" + (sliderThemes["slider_" + a] ? sliderThemes["slider_" + a] : "gray")),
        o = setInterval(l, s)
    }))
}),
window.navigator.userAgent.indexOf("MSIE 7.0") > -1 && (document.getElementById("mobo-header-sub").onclick = function(e) {
    var e = e || window.event,
    i = e.targetElement || e.srcElement;
    return "IMG" === i.tagName.toUpperCase() ? (i = i.parentNode.parentNode, window.location.href = i.href, !1) : void 0
});




!
function(e, i) {
    for (var t = (i.getElementById("mobo-header-link-program"), 
	i.getElementById("mobo-program-sub")), 
	n = t.getElementsByTagName("a"), 
	a = n.length, 
	r = function(e, i, t) {
    e.addEventListener ? e.addEventListener(i, t, !1) : e.attachEvent ? e.attachEvent("on" + i, t) : e["on" + i] = t
    },
    o = function(e) {
        return e ? e: window.event
    },
    s = function(e) {
        return e.target || e.srcElement
    },
    d = function(e, i) {
        e.style.opacity = i,
        e.style.filter = "alpha(opacity=" + 100 * i + ")"
    },
    l = a - 1; l >= 0; l--) r(n[l], "mouseenter",
    function(e) {
        for (var i = a - 1; i >= 0; i--) s(o(e)) !== n[i] && d(n[i], .5)
    }),
    r(n[l], "mouseleave",
    function(e) {
        for (var i = a - 1; i >= 0; i--) d(n[i], 1)
    })
} (window, document),
$(function() {
    var e, i = !1;
    $(".mobo-header-wrap,.mobo-program-sub-programs").on("mouseover",
    function() {
        void 0 != e && clearTimeout(e),
        $("#headerNav").addClass("toggle"),
        i = !0
    }).on("mouseout",
    function(t) {
        if (void 0 != t.originalEvent.srcElement) var n = t.originalEvent.srcElement.innerText;
        else var n = t.originalEvent.target.innerText;
        n != $("#mobo-header-link-program a").text() && (e = setTimeout(function() {
           /* $("#headerNav").removeClass("toggle")*/
        },
        2000)),
        i = !1
    });
    var t = $("#mobo-header-link-program"),
    n = $("#mobo-program-sub"),
    a = $("#headerNav"),
    r = $("img[data-src]"),
    o = function() {
        var e = "(-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3/2), (min-resolution: 1.5dppx)";
        return window.devicePixelRatio > 1 ? !0 : window.matchMedia && window.matchMedia(e).matches ? !0 : !1
    },
    s = function() {
        return - 1 !== navigator.platform.indexOf("Mac")
    },
    d = function() {
        t.addClass("hover"),
        n.stop().slideDown(),
        i && a.addClass("toggle")
    },
    l = function() {
        t.removeClass("hover"),
        n.stop().slideUp(function() {
            i || a.removeClass("toggle")
        })
    };
    t.mouseover(d),
    n.mouseover(d),
    t.mouseout(l),
    n.mouseout(l),
    s() && $("body").addClass("mac"),
    r.each(o() ?
    function() {
        var e = $(this).attr("data-src-2x");
        $(this).attr("src", e)
    }: function() {
        var e = $(this).attr("data-src");
        $(this).attr("src", e)
    })
}),
$(function() {
    var e = $(".sliders"),
    i = e.children(".slider-wrap").children(),
    t = e.children(".bullet"),
    n = 0,
    a = 0,
    r = "",
    o = "",
    s = 8e3,
    d = 2e3,
    l = function() {
        i.eq(a).fadeOut(d),
        a >= n - 1 ? a = 0 : a++,
        i.eq(a).fadeIn(d),
        t.children().eq(a).addClass("icon-circle-thin").removeClass("icon-circle").siblings().addClass("icon-circle").removeClass("icon-circle-thin"),
        $("#header").removeClass().addClass("theme-" + (sliderThemes["slider_" + a] ? sliderThemes["slider_" + a] : "white"))
    };
    i.eq(0).show(),
    n > 1 && (i.each(function(e) {
        r += 0 === e ? '<li data-index="' + e + '" class="icon-circle-thin"></li>': '<li data-index="' + e + '" class="icon-circle"></li>'
    }), t.append($(r)), t.css({
        marginLeft: -t.width() / 2
    }), o = setInterval(l, s), t.on("click", "li",
    function() {
        var e = parseInt($(this).attr("data-index"));
        t.children().eq(e).addClass("icon-circle-thin").removeClass("icon-circle").siblings().addClass("icon-circle").removeClass("icon-circle-thin"),
        i.eq(e).fadeIn().siblings().fadeOut(),
        clearInterval(o),
        a = e,
        /*$("#header").removeClass().addClass("theme-" + (sliderThemes["slider_" + a] ? sliderThemes["slider_" + a] : "white")),*/
        o = setInterval(l, s)
    }))
}),
window.navigator.userAgent.indexOf("MSIE 7.0") > -1 && (document.getElementById("mobo-program-sub").onclick = function(e) {
    var e = e || window.event,
    i = e.targetElement || e.srcElement;
    return "IMG" === i.tagName.toUpperCase() ? (i = i.parentNode.parentNode, window.location.href = i.href, !1) : void 0
});